- 
		Home
	
 
	- 
LiteSpeed Cache
 
- 
7.5.0.1
 
- 
Code
 
- 
Classes
 
-  Media 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											217 | 
										
																			
											| Dependencies | 
											12 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											1,215 | 
										
																			
											| Lines of code | 
											705 | 
										
																			
											| Logical lines of code | 
											453 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											326 | 
										
																			
											| Methods | 
											31 | 
										
																			
											| Properties | 
											5 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 31
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| _parse_img() | 
									D  | 
																	31 | 
													34 | 
													97 | 
							
					
				| _finalize() | 
									C  | 
																	37 | 
													24 | 
													67 | 
							
					
				| media_row_con() | 
									B  | 
																	32 | 
													21 | 
													104 | 
							
					
				| _replace_buffer_img_webp() | 
									A  | 
																	44 | 
													16 | 
													39 | 
							
					
				| _parse_iframe() | 
									A  | 
																	45 | 
													13 | 
													38 | 
							
					
				| _parse_img_for_preload() | 
									A  | 
																	46 | 
													12 | 
													37 | 
							
					
				| _browser_support_next_gen() | 
									A  | 
																	51 | 
													10 | 
													26 | 
							
					
				| rescale_ori() | 
									A  | 
																	54 | 
													8 | 
													19 | 
							
					
				| replace_urls_in_json() | 
									S  | 
																	49 | 
													7 | 
													30 | 
							
					
				| _detect_dimensions() | 
									S  | 
																	55 | 
													7 | 
													19 | 
							
					
				| info() | 
									S  | 
																	54 | 
													6 | 
													20 | 
							
					
				| replace_background_webp() | 
									S  | 
																	54 | 
													6 | 
													20 | 
							
					
				| init() | 
									S  | 
																	56 | 
													6 | 
													17 | 
							
					
				| replace_webp() | 
									S  | 
																	53 | 
													5 | 
													24 | 
							
					
				| get_image_sizes() | 
									S  | 
																	56 | 
													4 | 
													18 | 
							
					
				| finalize() | 
									S  | 
																	57 | 
													4 | 
													18 | 
							
					
				| __construct() | 
									S  | 
																	58 | 
													4 | 
													16 | 
							
					
				| webp_srcset() | 
									S  | 
																	63 | 
													4 | 
													11 | 
							
					
				| finalize_head() | 
									S  | 
																	65 | 
													3 | 
													9 | 
							
					
				| webp_attach_img_src() | 
									S  | 
																	68 | 
													3 | 
													7 | 
							
					
				| webp_url() | 
									S  | 
																	71 | 
													3 | 
													6 | 
							
					
				| after_user_init() | 
									S  | 
																	69 | 
													2 | 
													6 | 
							
					
				| adjust_jpg_quality() | 
									S  | 
																	70 | 
													2 | 
													7 | 
							
					
				| del() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| rename() | 
									S  | 
																	64 | 
													2 | 
													9 | 
							
					
				| media_row_actions() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| webp_support() | 
									S  | 
																	73 | 
													2 | 
													6 | 
							
					
				| next_gen_image_title() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| after_admin_init() | 
									S  | 
																	69 | 
													1 | 
													6 | 
							
					
				| delete_attachment() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| media_row_title() | 
									S  | 
																	75 | 
													1 | 
													4 |